package com.example.contact_recover.models;

import org.litepal.crud.LitePalSupport;

import java.util.List;

public class User extends LitePalSupport{

    private long Id;
    private String phone;
    private String passwd;

    private List<ContactsInfo> contactsList;

    public long getId() {
        return Id;
    }

    public void setId(long id) {
        Id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public List<ContactsInfo> getContactsList() {
        return contactsList;
    }

    public void setContactsList(List<ContactsInfo> contactsList) {
        this.contactsList = contactsList;
    }

    @Override
    public String toString() {
        return "User{" +
                "Id=" + Id +
                ", phone='" + phone + '\'' +
                ", passwd='" + passwd + '\'' +
                ", contactsList=" + contactsList +
                '}';
    }
}
